package com.neusoft.resturant.service.impl;

import com.neusoft.resturant.entity.Student;
import com.neusoft.resturant.mapper.StudentMapper;
import com.neusoft.resturant.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: Daniel
 * @date: 2023-11-01 16:50
 **/
@Service
public class StudentServiceImpl implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;


    @Override
    public Student selectStudentById(Long id) {
        return studentMapper.selectStudentById(id);
    }
}